#ifndef __DEBUG_ASSERT_H
#define __DEBUG_ASSERT_H

#define ASSERT(e)  if(e); \
                   else assertFail(#e, __FILE__, __LINE__)



/**
 * Assert handler function
 */
void assertFail(char *exp, char *file, int line);
/**
 * Print assert snapshot data
 */
void printAssertSnapshotData(void);
/**
 * Store assert snapshot data to be read at startup if a reset is triggered (watchdog)
 */
void storeAssertSnapshotData(char *file, int line);

#endif
